<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
 <div class="app">
   <h1>模板表达式测试</h1>
   <h1>{{msg}}</h1>
   <h1>{{count}}</h1>
   <br/>

   <h1>v-text测试</h1>
   <div v-text='msg'></div>
   <br/>

   <h1>v-html测试</h1>
   <div v-html='html测试内容'></div>

   <h1>v-model测试</h1>
   <input type="text" v-model='msg'>
   <input type="text" v-model='count'>
   <button>确定</button>
 </div>

 <script src="./index.js" type="module"></script>
<!-- key的依赖是一个对象 Object.defineProporty(obj,key,obj1111)
所以key里面可以加对象dep -->

</body>
</html>